﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Money.Data;

namespace Money.Interfaces
{
    public interface IAccountService
    {
        void CreateAccount(Account item);
        void DeleteAccount(int id);
        void UpdateAccount(Account item);
        Account GetAccountById(int id);
        List<Money.Data.Account> GetAccounts(int userId, string orderBy, string orderDirection);
        List<Account> GetAccounts(int userId, string orderBy, string orderDirection, int page, int pageSize, out int totalRecords);
        List<Money.Data.Account> GetAccounts(int userId, int accountType, int currencyType, string orderBy, string orderDirection, int page, int pageSize, out int totalRecords);
        bool CanDelete(int id);
    }
}
